﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using DataLayer;

/// <summary>
/// Summary description for BusinessClass
/// </summary>
public class BusinessClass
{
	public BusinessClass()
	{
		
    }

    public void insertStudentData(string FullName, string DOB)
    {
        DataClassesDataContext ob = new DataClassesDataContext();
        ob.InsertStudentBasicInfo(FullName, Convert.ToDateTime(DOB));
    }

    public List<ShowStudentInfoResult> showStudentInfo()
    {
        DataClassesDataContext ob = new DataClassesDataContext();
        return ob.ShowStudentInfo().ToList<ShowStudentInfoResult>();
    }


}